package internationalenergytradingplatform.dao;

import com.github.pagehelper.Page;
import internationalenergytradingplatform.VO.BuyerPageQueryVO;
import internationalenergytradingplatform.VO.OrderPageQueryVO;
import internationalenergytradingplatform.dto.BuyerPageQueryDTO;
import internationalenergytradingplatform.dto.OrderPageQueryDTO;
import internationalenergytradingplatform.pojo.BuyerAccount;
import internationalenergytradingplatform.pojo.TransporterAccount;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface BuyerMapper {
    /**
     * 根据手机号查找采购商全部信息
     */
    @Select("select * from buyer_accountr_tb where tele = #{tele}")
    BuyerAccount getCompanyByTele(String etel);

    Page<BuyerPageQueryVO> buyerPageQueryAdmin(BuyerPageQueryDTO buyerPageQueryDTO);
}
